\chapter{\bf Código da Questão 3}\label{ap:cod_q3}

\lstset{language=matlab,
        numbers=left,
        basicstyle=\scriptsize,
        stepnumber=2,
        numbersep=10pt,
        showspaces=false,
        showtabs=false,
        showstringspaces=false,
        morecomment=[l]{\%}
        }

\lstinputlisting{scripts_matlab/q3.m}
